lib/repo-pull: Use GCC `?:` ternary shortcut where appropriate
authorPhilip Withnall <withnall@endlessm.com>
Fri, 25 May 2018 00:01:52 +0000 (01:01 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 25 May 2018 13:12:33 +0000 (13:12 +0000)
commit66777b1b7593fc0d15cfb0b5ffb433a9b622f96d
treedd310199c907c56f7e1fcfb9c38ccae246a51ee2
parent8593357902ef3695b4eb9996e0567a07e3dcd006
lib/repo-pull: Use GCC `?:` ternary shortcut where appropriate

This introduces no functional changes; just makes the code a bit shorter
in a few places.

https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1599
Approved by: jlebon
src/libostree/ostree-repo-pull.c